/**
功能列表样式
 */
.atom-list {
  /*防止不能占满100%的问题*/
  .ant-card-body > .ant-checkbox-group {
    width: 100%;
  }
  .ant-list {
    /*普通列表*/
    .ant-list-items {
      .ant-list-item {
        .ant-list-item-meta {
          .ant-list-item-meta-avatar {
            .ant-checkbox-wrapper {
              margin-right: 8px;
            }
          }
          &.no-description {
            align-items: center;
            .ant-list-item-meta-content {
              .ant-list-item-meta-title {
                margin-bottom: 0;
              }
            }
          }
        }
        &:last-child {
          border-bottom: none !important;
        }
      }
    }
    /*card列表*/
    .ant-list-item {
      .ant-card {
        &.checked {
          box-shadow: 0 2px 6px @primary-6;
        }
        .ant-card-cover {
          text-align: center;
          img {
            width: auto;
            max-width: 100%;
            max-height: 160px;
            text-align: center;
          }
        }
        .ant-card-actions > li {
          margin: 6px 0;
        }
      }
    }
    /*非垂直模式样式*/
    &:not(.ant-list-vertical) {
      .ant-list-items {
        .ant-list-item {
          .atom-list-item-content {
            max-width: 30%;
          }
        }
      }
    }
    /*加载更多*/
    .atom-list-load-more {
      width: 100%;
      display: inline-block;
      text-align: center;
      cursor: pointer;
      line-height: 60px;
      height: 60px;
      font-weight: 600;
    }
  }
}
